﻿<controls:MetroWindow x:Class="AesonXamlControls.Interaction.AesonPopup.AesonChildWindows"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        Title="AesonChildWindows" ShowInTaskbar="False">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="50*" ></RowDefinition>
            <RowDefinition Height="Auto" ></RowDefinition>
        </Grid.RowDefinitions>
        <ContentControl Content="{Binding WindowsContent}"  Name="MyContent">
        </ContentControl>
        <StackPanel Orientation="Horizontal" Grid.Row="1" >
            <Button Margin="5" Click="OkButton_Click" >ok</Button>
            <Button Margin="5" Click="CancelButton_Click" >Cancel</Button>
        </StackPanel>
    </Grid>
</controls:MetroWindow>
